package com.ruicar.afs.cloud.channel.channelworkflow.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.channel.channelworkflow.entity.WorkTaskCreated;
import com.ruicar.afs.cloud.workflow.api.dto.flowprocess.response.FlowCmdBean;

import java.util.List;

/**
 * @author mingzhi.li
 */
public interface WorkTaskCreatedService extends IService<WorkTaskCreated> {
    /**
     * 渠道审批意见参数返回
     * @param approve
     * @param cmdList
     * @return
     */
    FlowCmdBean channelApprove(String approve, List<FlowCmdBean> cmdList);
    /**
     * 渠道审批意见参数返回
     * @param approve
     * @param cmdList
     * @return
     */
    FlowCmdBean affiliateApprove(String approve, List<FlowCmdBean> cmdList);
}
